package com.cjm.one.model.coupon.dto;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class CouponReserveDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @NotNull
    private Long userId;
    
    @NotEmpty
    private List<Long> couponIds;
    

    private Long orderId;
    
    private Boolean autoReceive = true; // 是否自动领取未拥有的券
}